package cn.kgc.mapper;

import cn.kgc.bean.dto.UserDto;
import cn.kgc.bean.pojo.CUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<CUser> {

    UserDto getInfo(@Param("username") String username);

    List<String> getUserRoleInfoMapper(@Param("username")String username);

    List<String> getUserPermissionInfoMapper(@Param("username")String username);
}
